﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class public_page_header_top : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (SysCommon.isUserLogin() == true)
        {
            this.HL_login.Visible = false;
            this.HL_reg.Visible = false;
            this.HL_exit.Visible = true;
            this.HL_user_service.Visible = true;
        }
        else
        {
            this.HL_login.Visible = true;
            this.HL_reg.Visible = true;
            this.HL_exit.Visible = false;
            this.HL_user_service.Visible = false;
        }
    }
}
